package com.sskj.motherboard.enums;

import lombok.Getter;

@Getter
public enum FrameCodeEnum {

    HEARTBEAT_CHECK((byte)0x01, "心跳检测"),
    REGISTER((byte) 0x02, "设备注册");

    private final byte code;

    private final String message;

    FrameCodeEnum(byte code, String message) {
        this.code = code;
        this.message = message;
    }
}
